You can control how an XPage application prompts the user when the user requests an action that closes a page with modified fields.